﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using CPPProject.CPP.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace CPPProject.CPP
{
    public interface ICPPContractDetailAppService: IAsyncCrudAppService<CPPContractDetailDto, Guid, PagedResultRequestDto, CreateCPPContractDetailDto, UpdateCPPContractDetailDto>
    {
        /// <summary>
        /// 根据合同编号查询合同明细
        /// </summary>
        /// <param name="ontractNum">合同编号</param>
        /// <returns></returns>
        Task<List<CPPContractDetailDto>> GetById(string ontractNum);
        /// <summary>
        /// 批量删除合同明细
        /// </summary>
        /// <param name="id">标识Id</param>
        /// <returns></returns>
        Task BatchDeleteDtl(string id);
    }
}
